Learn R Programming

changepoint (version 0.3)

pen.type<-: Generic Function - pen.type<-

Description

Generic function

Usage

pen.type(object)<-value

Arguments

object
Depending on the class of object depends on the method used (and if one exists)
value
Replacement value

Value

  • Depends on the class of object, see individual methods

Details

Generic Function

See Also

pen.type<--methods

Examples

Run this code
x=new("cpt") # new cpt object
pen.type(x)<-"SIC" # replaces the existing pen.type slot in x with "SIC"

Run the code above in your browser using DataLab